package org.jeecg.modules.cosmetic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: t_user
 * @Author: jeecg-boot
 * @Date:   2022-06-30
 * @Version: V1.0
 */
@Data
@TableName("t_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_user对象", description="t_user")
public class TUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**用户名/登录名*/
	@Excel(name = "用户名/登录名", width = 15)
    @ApiModelProperty(value = "用户名/登录名")
    private java.lang.String userName;
	/**登录密码AES加密*/
	@Excel(name = "登录密码AES加密", width = 15)
    @ApiModelProperty(value = "登录密码AES加密")
    private java.lang.String password;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
	/**用户权限，0普通用户；1管理员；*/
	@Excel(name = "用户权限，0普通用户；1管理员；", width = 15)
    @ApiModelProperty(value = "用户权限，0普通用户；1管理员；")
    private java.lang.Integer rights;
	/**状态，0正常；1禁用；2逻辑删除；*/
	@Excel(name = "状态，0正常；1禁用；2逻辑删除；", width = 15)
    @ApiModelProperty(value = "状态，0正常；1禁用；2逻辑删除；")
    private java.lang.Integer status;
	/**最后登录TOKEN*/
	@Excel(name = "最后登录TOKEN", width = 15)
    @ApiModelProperty(value = "最后登录TOKEN")
    private java.lang.String token;
	/**Token过期时间（秒数）*/
	@Excel(name = "Token过期时间（秒数）", width = 15)
    @ApiModelProperty(value = "Token过期时间（秒数）")
    private java.lang.Integer tokenValidTime;
	/**最后登录时间（秒数）*/
	@Excel(name = "最后登录时间（秒数）", width = 15)
    @ApiModelProperty(value = "最后登录时间（秒数）")
    private java.lang.Integer lastLoginTime;
	/**创建时间（秒数）*/
    @ApiModelProperty(value = "创建时间（秒数）")
    private java.lang.Integer createTime;
	/**修改时间（秒数）*/
    @ApiModelProperty(value = "修改时间（秒数）")
    private java.lang.Integer updateTime;
	/**addUser*/
	@Excel(name = "addUser", width = 15)
    @ApiModelProperty(value = "addUser")
    private java.lang.String addUser;
	/**addId*/
	@Excel(name = "addId", width = 15)
    @ApiModelProperty(value = "addId")
    private java.lang.Integer addId;
}
